package com.bolehui.base.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * @author chendongjie     email:chendongjie@gz.iscas.ac.cn
 * @version 1.0
 * @ClassName gender
 * @Description 用户性别枚举
 * @createTime 2024/12/5 16:39
 * Copyright (C) 2021-2022 CASEEDER, All Rights Reserved.
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 */
public enum GenderTypeEnum {
    Man(0, "男"),
    Woman(1, "女")
    ;

    @EnumValue
    private Integer value;
    @JsonValue
    private String desc;

    GenderTypeEnum(Integer value, String desc){
        this.value = value;
        this.desc = desc;

    }
}
